package cn.fx.framework.utils;

/**
 * 三元组,用来保持自定义的三类对象
 * @author Junhai,Liu
 *
 * @param <A>
 * @param <B>
 * @param <C>
 */
public class ThreeTuple<A,B,C> extends TwoTuple<A, B> {

	public final C third;
	
	public ThreeTuple(A first,B second,C third){
		super(first,second);
		this.third = third;
	}
	
	@Override
	public String toString(){
		return "("+this.first+","+this.second+","+this.third+")";
	}
}
